home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
dmedia
/
vlcmd.z
/
vlcmd
Wrap
Text File
|
1998-10-30
|
9KB
|
199 lines
vvvvllllccccmmmmdddd((((1111)))) vvvvllllccccmmmmdddd((((1111))))
NNNNAAAAMMMMEEEE
vlcmd - Video Library command line interface
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
vvvvllllccccmmmmdddd [[[[----hhhh]]]]
PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
-_h Print help message (command and arguments list).
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
The application vvvvllllccccmmmmdddd provides a command line interface to the
functionality of the Video Library. Operations such as creating paths
and setting/getting controls can be accomplished on the command line, or
from a script.
For ease of access to nodes and paths vvvvllllccccmmmmdddd maintains 2 arrays. Once
created, all nodes and paths are referred to by their array indices.
These are represented in the command argument lists by nodeindex and
pathindex. Nodeid and pathid are the ID numbers assigned by the Video
Library when each is created.
CCCCOOOOMMMMMMMMAAAANNNNDDDDSSSS
ooooppppeeeennnnvvvviiiiddddeeeeoooo
The ooooppppeeeennnnvvvviiiiddddeeeeoooo command connects to the video server. This should be
the first command of any vlcmd script.
sssseeeettttppppaaaatttthhhhiiiidddd <_p_a_t_h_i_n_d_e_x> <_p_a_t_h_i_d>
The sssseeeettttppppaaaatttthhhhiiiidddd command associates a path with an index into the path
array. You can then use the index to refer to the path in other
vvvvllllccccmmmmdddd commmands. Use sssseeeettttppppaaaatttthhhhiiiidddd if you know the ID number of the
path you want and it has already been created in a currently running
application. You can get the ID from several of the supplied video
applications by running them with the -_I option.
sssseeeettttnnnnooooddddeeeeiiiidddd <_n_o_d_e_i_n_d_e_x> <_n_o_d_e_i_d>
The sssseeeettttnnnnooooddddeeeeiiiidddd command associates a node with an index into the node
array. You can then use the index to refer to the node in other
vvvvllllccccmmmmdddd commmands. Use sssseeeettttnnnnooooddddeeeeiiiidddd if you know the ID number of the
node you want and the node has previously instantiated by a
vlGetNode() call in a currently running application. You can get the
ID from several of the supplied video applications by running them
with the -_I option.
ggggeeeettttddddeeeevvvviiiicccceeee <_p_a_t_h_i_n_d_e_x>
The ggggeeeettttddddeeeevvvviiiicccceeee command prints the number of the device on the given
path.
ggggeeeettttddddeeeevvvviiiicccceeeelllliiiisssstttt
The ggggeeeettttddddeeeevvvviiiicccceeeelllliiiisssstttt command prints the number of the devices as well
as the name and number of each device accessible to the video
PPPPaaaaggggeeee 1111
vvvvllllccccmmmmdddd((((1111)))) vvvvllllccccmmmmdddd((((1111))))
server.
ggggeeeettttccccoooonnnnttttrrrroooolllllllliiiisssstttt <_p_a_t_h_i_n_d_e_x> <_n_o_d_e_i_n_d_e_x>
The ggggeeeettttccccoooonnnnttttrrrroooolllllllliiiisssstttt command information on all controls on the given
node on the given path. The path must be setup prior to using this
command.
ggggeeeettttnnnnooooddddeeee <_n_o_d_e_i_n_d_e_x> <_s_o_u_r_c_e|_d_r_a_i_n|_d_e_v_i_c_e|_i_n_t_e_r_n_a_l>
<_v_i_d_e_o|_g_r_a_p_h_i_c_s|_m_e_m_o_r_y|_s_c_r_e_e_n|_t_e_x_t_u_r_e|_n_e_t_w_o_r_k|_b_l_e_n_d_e_r> <_n_o_d_e_n_u_m> The
ggggeeeettttnnnnooooddddeeee command gets a node of the given type, kind and number and
associates it with an index into the node array. You can then use
the index to refer to the node in other vvvvllllccccmmmmdddd commands. Use ggggeeeettttnnnnooooddddeeee
if you do not know the ID of the node you want or if the node(s)
have not have not been previously instantiated by a vlGetNode() call
in another currently running application.
ccccrrrreeeeaaaatttteeeeppppaaaatttthhhh <_p_a_t_h_i_n_d_e_x> <_d_e_v_i_c_e_n_u_m> <_s_r_c_n_o_d_e_i_n_d_e_x> <_d_r_n_n_o_d_e_i_n_d_e_x>
The ccccrrrreeeeaaaatttteeeeppppaaaatttthhhh command creates a path on the given device, with the
given nodes and associates it with an index into the path array. You
can then use the index to refer to the path in other vvvvllllccccmmmmdddd commands.
Use ccccrrrreeeeaaaatttteeeeppppaaaatttthhhh if you do not know the ID of the path you want or it
has not already been created by a currently running application.
sssseeeettttuuuuppppppppaaaatttthhhhssss <_p_a_t_h_i_n_d_e_x> <_s_h_a_r_e|_r_e_a_d_o_n_l_y|_l_o_c_k|_d_o_n_e_u_s_i_n_g>
<_s_h_a_r_e|_r_e_a_d_o_n_l_y|_l_o_c_k|_d_o_n_e_u_s_i_n_g> The sssseeeettttuuuuppppppppaaaatttthhhhssss command sets up the
given (previously created) path with the given control and stream
usages, respectively.
aaaaddddddddnnnnooooddddeeee <_p_a_t_h_i_n_d_e_x> <_n_o_d_e_i_n_d_e_x>
The aaaaddddddddnnnnooooddddeeee command adds the given node to the given path. The path
must be setup prior to using this command.
rrrreeeemmmmoooovvvveeeennnnooooddddeeee <_p_a_t_h_i_n_d_e_x> <_n_o_d_e_i_n_d_e_x>
The rrrreeeemmmmoooovvvveeeennnnooooddddeeee command removes the given node from the given path.
The path must be setup prior to using this command.
sssseeeettttccccoooonnnnttttrrrroooollll <_c_o_n_t_r_o_l_t_y_p_e> <_p_a_t_h_i_n_d_e_x> <_n_o_d_e_i_n_d_e_x> <_d_a_t_a_1> <_d_a_t_a_2>
The sssseeeettttccccoooonnnnttttrrrroooollll command sets a control of type _c_o_n_t_r_o_l_t_y_p_e on the
given node and path to values _d_a_t_a_1 _a_n_d _d_a_t_a_2 _d_a_t_a_1 is the
numerator, _d_a_t_a_2 is the denominator. Where the control value is an
x,y pair _d_a_t_a_1 is x, _d_a_t_a_2 is y. Where it is an int or boolean _d_a_t_a_1
is the control value, _d_a_t_a_2 can be any integer but must not be left
blank.
ggggeeeettttccccoooonnnnttttrrrroooollll <_c_o_n_t_r_o_l_t_y_p_e> <_p_a_t_h_i_n_d_e_x> <_n_o_d_e_i_n_d_e_x>
The ggggeeeettttccccoooonnnnttttrrrroooollll command gets the values of a control of type
_c_o_n_t_r_o_l_t_y_p_e on the given node and path and prints out the values
returned in the VVVVLLLLCCCCoooonnnnttttrrrroooollllVVVVaaaalllluuuueeee struct.
cccclllloooosssseeeevvvviiiiddddeeeeoooo
The cccclllloooosssseeeevvvviiiiddddeeeeoooo command disconnects from the video server.
PPPPaaaaggggeeee 2222
vvvvllllccccmmmmdddd((((1111)))) vvvvllllccccmmmmdddd((((1111))))
hhhheeeellllpppp The hhhheeeellllpppp command prints the command and arguments list.
qqqq||||qqqquuuuiiiitttt||||eeeexxxxiiiitttt
The qqqq,qqqquuuuiiiitttt or eeeexxxxiiiitttt command exits vvvvllllccccmmmmdddd....
SSSSEEEEEEEE AAAALLLLSSSSOOOO
vlinfo(1), vidtomem(1), memtovid(1), videoin(1), videoout(1)
PPPPaaaaggggeeee 3333